package com.acg.exception;


public class ACGException extends Exception{

    private Integer code;

    /**
     * 构造方法
     * @param message 异常信息
     * @param  code 异常码 返回状态码
     */
    public ACGException(String message, Integer code) {
        super(message);
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

}
